package com.qf.dao;

import com.qf.domain.User;

import java.util.List;

/**
 * @author Administrator
 * @version v1.0
 * @date 2022/4/18
 */
public interface UserDao {
    long selectCountByUsername(String username);

    int insert(User user);

    User selectByUsernameAndPassword(String username, String password);

    List<User> selectUsers();

    void deleteUser(int id);


    List<User> selectUsersAny(String toString, List<Object> params);
}
